/* 数据对比页面样式 */
.comparison-page {
    padding: 2rem;
}

.page-header {
    margin-bottom: 2rem;
}

.page-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.page-subtitle {
    color: #6b7280;
    font-size: 0.875rem;
}

/* 数据概览区域 */
.overview-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

/* 匹配率仪表盘 */
.match-rate-card {
    text-align: center;
    padding: 2rem;
}

.match-rate-value {
    font-size: 3rem;
    font-weight: 700;
    color: #3b82f6;
    margin-bottom: 1rem;
}

.match-rate-label {
    color: #6b7280;
    font-size: 1rem;
}

/* 系统状态区域 */
.system-status {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.status-item {
    padding: 1rem;
    background: #f9fafb;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.status-label {
    color: #6b7280;
    font-size: 0.875rem;
}

.status-value {
    font-weight: 600;
    color: #1f2937;
}

.status-value.good {
    color: #059669;
}

.status-value.warning {
    color: #d97706;
}

.status-value.danger {
    color: #dc2626;
}

/* 数据表格优化 */
.comparison-table {
    background: white;
    border-radius: 12px;
    overflow: hidden;
}

.comparison-table th {
    background: #f8fafc;
    font-weight: 600;
    color: #1f2937;
    padding: 1rem;
}

.comparison-table td {
    padding: 1rem;
    border-bottom: 1px solid #f0f0f0;
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

/* 差异标识 */
.diff-tag {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 500;
}

.diff-tag.match {
    background-color: #dcfce7;
    color: #059669;
}

.diff-tag.mismatch {
    background-color: #fee2e2;
    color: #dc2626;
}

/* 暗色主题适配 */
@media (prefers-color-scheme: dark) {
    .page-title {
        color: #f3f4f6;
    }
    
    .status-item {
        background: #374151;
    }
    
    .status-value {
        color: #f3f4f6;
    }
    
    .comparison-table {
        background: #1f2937;
    }
    
    .comparison-table th {
        background: #374151;
        color: #f3f4f6;
    }
    
    .comparison-table td {
        border-bottom-color: #374151;
    }
} 